//清除缓存
$(".clearCache").click(function(){
    window.sessionStorage.clear();
    window.localStorage.clear();
    var index = layer.msg('清除缓存中，请稍候',{icon: 16,time:false,shade:0.8});
    setTimeout(function(){
        layer.close(index);
        layer.msg("缓存清除成功！");
    },1000);
})